Pular para o conteúdo

/v1/domains/{domainId}/external-accounts/transactions/dry-run

Requisição

Transaction dry run

Segurança
httpAuth
Caminho
domainIdstring, (uuid)obrigatório
Corpo
externalAccountIdstring, (uuid)obrigatório
parametersobjectobrigatório
curl -i -X POST \
  'https://docs.ripple.com/_mock/pt-br/products/custody/devbox/v1/domains/{domainId}/external-accounts/transactions/dry-run' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "externalAccountId": "f3675f2e-da61-42e9-a9db-eef8bd4fb4e2",
    "parameters": {
      "externalTickerName": "string",
      "amount": "string",
      "destination": {
        "tag": "string",
        "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
        "type": "Account"
      },
      "type": "Transfer"
    }
  }'

Respostas

Success

Corpoapplication/json
resultobjectobrigatório
estimateobjectobrigatório
Resposta
{ "result": { "hint": "string", "type": "Success" }, "estimate": { "fee": "string", "minimum": "string", "externalTickerName": "string" } }